<?php

    include '../../../../common/include/common.php';
    include_once '../../../config.php';
    $module = modules::GATK;
    $name = docSN::toolDocs;

    printHeader($module, $name, topSN::guide);

    $selected_major_version = 4;
    $dirs = lookupVersionDirs($selected_major_version);
?>

<link type='text/css' rel='stylesheet' href='gatkDoc.css'>

<div class='row'>

    <aside class="col-md-3">

        <?php echo produceGuideNav($module, $name) . makeTwitterFeed(); ?>

    </aside>

    <div class='col-md-9'>



        <div class="row">
            <div class="col-md-6">
                <h1 id="top"><i class='<?php print ico::toolDocsIcon; ?>'></i> GATK WDL Index</h1>
            </div>
            <div class="col-md-6">
                <div class="btn-group pull-right" style='margin-top:14px;'>
                    <a class="btn btn-warning dropdown-toggle" data-toggle="dropdown" href="#">
                        Version 1.2.3.4
                        <span class="caret"></span>
                    </a>
                    <ul class="dropdown-menu">
                        <?php foreach($dirs as $dir) { ?>
                            <li class="hide_me_html"><a tabindex='-1' href='../<?=$dir?>' ><?=$dir?></a></li>
                        <?php } ?>
                    </ul>
                </div>
            </div>
        </div>

        <div class="hide_me_html">
            <hr />
            <em>Showing docs for version 1.2.3.4 | The latest version is <?php print $latest_version; ?></em>
            <hr />
        </div>

        <div class="accordion" id="index">
                <br />
                <br />
                <br />
        <div class="accordion-group">
            <div class="accordion-heading">
                <a class="accordion-toggle" data-toggle="collapse" data-parent="#index" href="#WDLfeaturegroupname">
                    <h4>WDL feature group name</h4>
                </a>
            </div>
            <div class="accordion-body collapse" id="WDLfeaturegroupname">
                <div class="accordion-inner">
                    <p class="lead">Tools for internal test purposes</p>
                    <table class="table table-striped table-bordered table-condensed cozy">
                        <tr>
                            <th>Name</th>
                            <th>Summary</th>
                        </tr>
                                <tr>
                                    <td><a href="TestWDLTool.wdl">TestWDLTool</a></td>
                                        <td>WDL Test Tool to test WDL Generation</td>
                                </tr>
                    </table>
                </div>
            </div>
        </div>
                <br />
        </div>

        <hr>
        <p><a href='#top'><i class='fa fa-chevron-up'></i> Return to top</a></p>
        <hr>
        <p class="see-also">See also 
        	<a href="https://software.broadinstitute.org/gatk/documentation/">General Documentation</a> |
        	<a class="hide_me_php" href="index.html">Tool WDL Index</a> <a class="hide_me_html" href="index">Tool WDL Index</a> |
        	<a href="https://gatkforums.broadinstitute.org/gatk/">Support Forum</a>
        </p>

        <p class="version">GATK version 1.2.3.4 built at 2016/11/11 11:11:11.
        </p>

</div></div>

<?php

    printFooter($module);

?>